//
//  OrderModel.h
//  YiBaoStore
//
//  Created by 吕清毅 on 2018/10/20.
//  Copyright © 2018年 小河. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface OrderModel : NSObject

@property (nonatomic, copy) NSString *consigneeAddress;//地址
@property (nonatomic, copy) NSString *consigneeDetailAddress;//地址
@property (nonatomic, copy) NSString *consigneeMobile; //手机
@property (nonatomic, copy) NSString *consigneeName;//订单创建时间
@property (nonatomic, assign) NSInteger consigneeStreetId;
@property (nonatomic, assign) double costAmount;//成本
@property (nonatomic, assign) double gainAmount;//收益
@property (nonatomic, copy) NSString *gmtCreate; //订单时间
@property (nonatomic, assign) NSInteger id;//订单id
@property (nonatomic, assign) NSInteger type;//
@property (nonatomic, assign) double orderAmount;//订单金额
@property (nonatomic, copy) NSString *orderStateDesc;//订单状态
@property (nonatomic, assign) BOOL showGainsInfo;
@property (nonatomic, copy) NSString *deliveryId; //取件码
@property (nonatomic, assign) NSInteger deliveryType;//类型
//@property (nonatomic, copy) NSString *orderStateDesc;//订单描述
@property (nonatomic, copy) NSArray *orderItemDetails;//商品数组
@property (nonatomic, strong) NSMutableArray *goodsArray;//保存商品Model的
//@property (nonatomic, assign) CGFloat cellHeight;

@end

@interface GoodsModel : NSObject
@property (nonatomic, assign) NSInteger itemBuyAmount;//商品数量
@property (nonatomic, copy) NSString *itemShowImage;//商品图片
@property (nonatomic, assign) double itemPrice;//销售价格
@property (nonatomic, assign) double itemShopCostPrice;//店铺成本价
@property (nonatomic, copy) NSString *itemTitle;//商品标题

@end


NS_ASSUME_NONNULL_END
